ISO C fix.
authoroliskoli <oliskoli>
Fri, 24 Nov 2006 21:08:24 +0000 (21:08 +0000)
committeroliskoli <oliskoli>
Fri, 24 Nov 2006 21:08:24 +0000 (21:08 +0000)
pcx.c

diff --git a/pcx.c b/pcx.c
index 3b75de0f0a3d438b19c39c11e8c9d63c359d3bea..7e77c2d734d5e3c9a1c489b045f0a8f9a5e024ec 100644 (file)
--- a/pcx.c
+++ b/pcx.c
@@ -256,8 +256,9 @@ data_read(void)
                // where our other columns start.
                case 'F': {
                        int col;
-                       sym_col = 0;
                        char *i = ibuf;
+                       sym_col = 0;
+
                        for (col = 0, i = ibuf; *i; col++, i++) {
                                if (0 == case_ignore_strncmp(i, "comment", 7)) {
                                        comment_col = col;